Skip to content

feat!: use standard --flag syntax for executable arguments (#325)#387

Merged
jahvon merged 2 commits intomainfrom
claude/charming-mendeleev
Apr 14, 2026
Merged

feat!: use standard --flag syntax for executable arguments (#325)#387
jahvon merged 2 commits intomainfrom
claude/charming-mendeleev

Conversation

@jahvon
Copy link
Copy Markdown
Member

@jahvon jahvon commented Apr 14, 2026

Switch from flag=value to --flag=value / --flag value syntax for executable arguments, with -- separator between flow flags and executable args. Boolean flags can omit the value (e.g. --verbose implies true). This aligns with POSIX conventions and improves shell completion support.

BREAKING CHANGE: The previous flag=value argument format is no longer supported. Use -- to separate flow flags from executable arguments and prefix flag names with --.

Before: flow exec build flag1=value1 pos1
After: flow exec build -- --flag1=value1 pos1

Switch from `flag=value` to `--flag=value` / `--flag value` syntax for
executable arguments, with `--` separator between flow flags and
executable args. Boolean flags can omit the value (e.g. `--verbose`
implies true). This aligns with POSIX conventions and improves shell
completion support.

BREAKING CHANGE: The previous `flag=value` argument format is no longer
supported. Use `--` to separate flow flags from executable arguments and
prefix flag names with `--`.

Before: flow exec build flag1=value1 pos1
After:  flow exec build -- --flag1=value1 pos1

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jahvon jahvon linked an issue Apr 14, 2026 that may be closed by this pull request
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 14, 2026

Codecov Report

❌ Patch coverage is 69.56522% with 7 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
types/executable/arguments.go 0.00% 5 Missing ⚠️
internal/utils/env/args.go 88.23% 1 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jahvon jahvon marked this pull request as ready for review April 14, 2026 00:46
@jahvon jahvon merged commit c059a01 into main Apr 14, 2026
14 checks passed
@jahvon jahvon deleted the claude/charming-mendeleev branch April 14, 2026 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Executable args CLI parsing format

1 participant